package dk.eclipse.android.badassapp.preferences;

import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceClickListener;
import dk.eclipse.android.badassapp.R;
import dk.eclipse.android.badassapp.sms.SMSCommandoActivity;

/**
 * This class handles presentation of preferences, declared in xml.
 * 
 * @author Ronni Kahalani (eclipse.dk)
 *
 */
public class PreferenceActivity extends android.preference.PreferenceActivity {
	/**
	 * Shown in every log line as identification.
	 */
	private static final String LOG_TAG = PreferenceActivity.class
			.getSimpleName();
	
	public OnPreferenceClickListener overrider = new OnPreferenceClickListener() {

	    public boolean onPreferenceClick(Preference pref) {
	    	// Do something, when the user clicks a preference control.
	        return false;
	    }

	};

	
	@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        addPreferencesFromResource(R.xml.preferences);
    }
    
}